package practice;

public class Main {

	public static void main(String[] args) {
			Student s = new Student();
			s.setName("Ding");
			s.setAge(20);
			s.setSex("male");
			s.setClass1(100);
			s.setClass2(98);
			s.setClass3(67);
			s.setClass4(79);
			s.setClass5(88);
			System.out.println("平均成绩："+s.Avg());
	}

}
